export interface GameObjectOptions {
  x: number;
  y: number;
}

export abstract class GameObject {
  x: number;

  y: number;

  constructor(options: GameObjectOptions) {
    const { x, y } = options;
    this.x = x;
    this.y = y;
  }

  public update (elapsedTime: number) {}

  public abstract render (canvasCtx: CanvasRenderingContext2D): void;
}
